package com.duanjy.webtools2.entity;

import java.util.Date;

public class HostInfo {
	private long id;
	private String host_group;
	private String host_type;
	private String ip_address;
	private String login_name;
	private String login_pwd;
	private int login_port;
	private int conn_status;
	private String create_time;
	private String modify_time;
	private String mark;
	
	public HostInfo(String host_group, String host_type, String ip_address,
			String login_name, String login_pwd, int login_port, String mark) {
		super();
		this.host_group = host_group;
		this.host_type = host_type;
		this.ip_address = ip_address;
		this.login_name = login_name;
		this.login_pwd = login_pwd;
		this.login_port = login_port;
		this.mark = mark;
	}
	
	public HostInfo(String host_group, String host_type, String ip_address,
			String login_name, String login_pwd, int login_port,
			int conn_status, String create_time, String modify_time, String mark) {
		super();
		this.host_group = host_group;
		this.host_type = host_type;
		this.ip_address = ip_address;
		this.login_name = login_name;
		this.login_pwd = login_pwd;
		this.login_port = login_port;
		this.conn_status = conn_status;
		this.create_time = create_time;
		this.modify_time = modify_time;
		this.mark = mark;
	}
	

	public HostInfo(long id, String ip_address, String login_name,
			String login_pwd, int login_port) {
		super();
		this.id = id;
		this.ip_address = ip_address;
		this.login_name = login_name;
		this.login_pwd = login_pwd;
		this.login_port = login_port;
	}
	

	public HostInfo(long id, String ip_address, String login_name,
			String login_pwd, int login_port, int conn_status) {
		super();
		this.id = id;
		this.ip_address = ip_address;
		this.login_name = login_name;
		this.login_pwd = login_pwd;
		this.login_port = login_port;
		this.conn_status = conn_status;
	}

	public HostInfo(){}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getHost_group() {
		return host_group;
	}
	public void setHost_group(String host_group) {
		this.host_group = host_group;
	}
	public String getHost_type() {
		return host_type;
	}
	public void setHost_type(String host_type) {
		this.host_type = host_type;
	}
	public String getIp_address() {
		return ip_address;
	}
	public void setIp_address(String ip_address) {
		this.ip_address = ip_address;
	}
	public String getLogin_name() {
		return login_name;
	}
	public void setLogin_name(String login_name) {
		this.login_name = login_name;
	}
	public String getLogin_pwd() {
		return login_pwd;
	}
	public void setLogin_pwd(String login_pwd) {
		this.login_pwd = login_pwd;
	}
	public int getLogin_port() {
		return login_port;
	}
	public void setLogin_port(int login_port) {
		this.login_port = login_port;
	}
	public int getConn_status() {
		return conn_status;
	}
	public void setConn_status(int conn_status) {
		this.conn_status = conn_status;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getModify_time() {
		return modify_time;
	}
	public void setModify_time(String modify_time) {
		this.modify_time = modify_time;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	
	public void  printString() {
		System.out.println("HostInfo [id=" + id + ", host_group=" + host_group
				+ ", host_type=" + host_type + ", ip_address=" + ip_address
				+ ", login_name=" + login_name + ", login_pwd=" + login_pwd
				+ ", login_port=" + login_port + ", conn_status=" + conn_status
				+ ", create_time=" + create_time + ", modify_time="
				+ modify_time + ", mark=" + mark + "]");;
	}
	
	
}
